import asyncio


async def fetch_data():
    print("开始获取数据")
    await asyncio.sleep(1)  # 模拟 I/O 操作
    print("数据获取完成")
    return "data"


async def run():
    result = await fetch_data()
    print("结果：", result)


if __name__ == '__main__':
    asyncio.run(run())
